﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WSAP
{
    /// <summary>
    /// 楼层信息
    /// </summary>
    class Storey
    {
        /// <summary>
        /// 楼层编号
        /// </summary>
        public int StoreyIndex { set; get; }

        /// <summary>
        /// 刚度
        /// </summary>
        public double Stifffness { set; get; }

        /// <summary>
        /// 质量
        /// </summary>
        public double Mass { set; get; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="stiff"></param>
        /// <param name="mass"></param>
        public Storey(int storeyIndex, double stiff, double mass)
        {
            this.StoreyIndex = storeyIndex;
            this.Stifffness = stiff;
            this.Mass = mass;
        }
    }
}
